<template>
    <div class="p-3">
        <tig-form class="flex" :action="'/chapters/'+chapterId+'/comments'">
            <input title="content" name="content" type="text"
                   class="form-control form-input form-input-bordered rounded-tr-none rounded-br-none flex-1">
            <button type="submit" class="btn btn-default btn-primary rounded-tl-none rounded-bl-none">发布</button>
        </tig-form>
    </div>
</template>

<script>
    export default {
        name: "TigComment", props: {chapterId: Number}
    }
</script>

